package com.boarsoft.boar.entity;

import java.io.Serializable;

/**
 * 应用（或其它）实例的标签，一个实例可以有多个label
 */
public class ObjLabel implements Serializable {
	private static final long serialVersionUID = 5505646907018550546L;
	
	public static final int TYPE_ALL = 0;
	public static final int TYPE_APP = 1;
	public static final int TYPE_SERVER = 2;
	public static final int TYPE_APP_INST = 3;

	private String id;
	/** 实例ID */
	private String objId;
	/** 实例类型：0 All，1 App，2 Server，3 AppInst */
	private int objType;
	/** 标签名，如：group */
	private String key;
	/** 标签值，如：g1 */
	private String value;
	/** 备注 */
	private String memo;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getObjId() {
		return objId;
	}

	public void setObjId(String objId) {
		this.objId = objId;
	}

	public int getObjType() {
		return objType;
	}

	public void setObjType(int objType) {
		this.objType = objType;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}
}